package com.novax.ex.activity.provider.api;

import com.novax.ex.activity.provider.api.model.CouponRequest;
import com.novax.ex.activity.provider.api.model.UpVipRequest;
import com.novax.ex.activity.provider.common.ServerName;
import com.novax.ex.common.results.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Description:签到活动-内部api
 *
 * @author shaw
 * @date 2023/10/25 16:01
 */
@FeignClient(url = "${remote.resource-service.endpoint}", name = "SignInnerApi", contextId = "SignInnerApi")
public interface SignInnerApi {
    @PostMapping("/v3/private/sign-inner/issue-coupon")
    ReturnResult<?> issueCoupon(@RequestBody CouponRequest body);

    @PostMapping("/v3/private/sign-inner/up-vip")
    ReturnResult<?> upVip(@RequestBody UpVipRequest body);
}
